package jsen.tool.ddd.domain;

import java.lang.annotation.*;

/**
 * bc交互模式
 *
 * @author jsen
 * @date 2021/10/6
 */
@Target({ElementType.PACKAGE, ElementType.TYPE})
@Retention(RetentionPolicy.CLASS)
@Documented
public @interface BoundedContextMap {
    /**
     * 交互模式类型
     * SHARED CORE
     * CUSTOMER/SUPPLIER
     * CONFORMIST
     * ANTICORRUPTION LAYER
     * SEPARATE WAY
     * OPEN HOST SERVICE
     * PUBLISHED LANGUAGE
     */
    String type();
}
